package org.kafkaliu.app.peddlerstore.domain.dao;

import java.util.List;

public interface GenericDao<T> {
	T find(Class<T> clazz, Long id);
	T save(T obj);
	void delete(T obj);
	List<T> findAll(Class<T> clazz);
}
